package BanyuanClub.Study.Day0304;

public class Car {
    private String ping;
    private int price;

    @Override
    public String toString() {
        return "Car{" +
                "ping='" + ping + '\'' +
                ", price=" + price +
                '}';
    }

    public String getPing() {
        return ping;
    }

    public void setPing(String ping) {
        this.ping = ping;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public Car(String ping, int price) {
        this.ping = ping;
        this.price = price;
    }
}
